home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5531 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  9.1 KB

  1. Path: uu4news.netcom.com!genesplicer!209-254-8!joey.mcdonald
  2. From: Joey.McDonald@209-254-8.genesplicer.org (Joey McDonald)
  3. Date: 15 Mar 96 10:49:56 
  4. Newsgroups: comp.sys.amiga.programmer
  5. Subject: DCTVpost 3/5
  6. Message-ID: <3e2_9603160006@genesplicer.org>
  7. Organization: The GeneSplicer
  8.  
  9. The only control we need to adjust is the blue-level slider. Simply increase
  10. the value to 57 (the highest setting possible without causing distortion) and
  11. you'll see an immediate and vast improvement in the composite image. Using this
  12. single control you can quickly and easily achieve results similarto (if not
  13. identical to) those obtained using method #1.
  14.  
  15. By experimenting with the controls on the color bias panel and palette window
  16. you may find that other interesting enhancements or image effects are possible.
  17. It's also worth noting that DCTV is even capable of displaying composite data
  18. from an Amiga 1-bit image.. (although the display quality is ver poor).
  19.  
  20.  
  21.                                  PROOF POSITIVE!
  22.  
  23.  
  24. Our final image (figure 3) does exhibit a small amount of streaking and color
  25. flicker in some areas, but I'm sure you'll agree that it's the most impressive
  26. looking 2-bit image ever generated by a computer. Considering the methods used
  27. to create this display I think the results are quite remarkable.This image
  28. proves that it's possible to display a DCTV image within 2-bitplanes while
  29. retaining a large enough palette to achieve high quality results. In my
  30. opinion, this image rivals any comparable ECS Amiga generated display. When it
  31. comes to file size and animation speed (I'll get to those in a oment) the HAM6
  32. and HAM8 display modes cannot compete.
  33.  
  34. A reduction in file size is one of the real advantages of generating a DCTV
  35. display within 2-bitplanes. The original file size of the 4-bit froggie.dctv
  36. image was 109614 bytes and our 2-bit version weighs-in at only 63734 bytes.
  37. That's a savings of 45880 bytes without any added file compression! Obvously
  38. the results will vary depending on the image being converted, but I have found
  39. that most images will yield at least a 40-50% reduction in file size, while in
  40. certain instances you may achieve a 50-60% (or greater) reduction. 
  41.  
  42. We have not only achieved a savings in storage space, we have also gained an
  43. increase in display speed. Try viewing the image with a display utility and you
  44. should notice that it appears on screen faster than the original 4-bit image.
  45. Loading the image in to a program such as Deluxe-Paint and then ceating a small
  46. animation (using the MOVE requester) should make the speed increase even more
  47. apparent.
  48.  
  49. With such a dramatic reduction in image file size and a visible increase in
  50. display speed, the DCTV 2-bit display mode shows great potential in the area of
  51. animation. Let's take a quick look at what the requirements are to animate in
  52. this new mode.
  53.  
  54.  
  55.                           DECLARATION OF ANIMATION!
  56.  
  57.  
  58. At present, the only way to create a DCTV 2-bit animation is to perform the
  59. conversion on each individual anim frame (something I wouldn't recommend unless
  60. you have plenty of time on your hands). It's impossible to automate the process
  61. within Pixmate due to the programs lack of an Arexx port, and sice I have not
  62. found another image processor capable of the same results the need for an
  63. entirely new program arises.
  64.  
  65. To offer a rough idea of the potential anim file size reductions and increases
  66. in animation speed, I opted to manually convert the SceneryAnim.anim file found
  67. on DCTV disk #4. Not having the luxury of owning a commercial program capable
  68. of splitting and compiling animations, I relied on two programsavailable on
  69. most good BBS's. BuildAnim2 (by Christer Sundin), and AnimBuild (by Michael
  70. Hartman). BuildAnim2 can perform both splitting and compiling but had problems
  71. compiling this particular anim. I relied on AnimBuild for animation compiling.
  72.  
  73. Using BuildAnim2 I split the animation into individual frames. I then performed
  74. the 2-bit conversion on the first anim frame and saved the results. To speed up
  75. the tedious process of palette adjusting I used the Pixmate "Load Palette"
  76. option to load my set palette for each additional frame. After coverting all of
  77. the remaining frames I used AnimBuild to re-compile each 2-bit image back into
  78. an anim file.
  79.  
  80. The original anim file size was 452398 bytes. After conversion the size was
  81. reduced to 276810 bytes, a savings of 175588 bytes without any added file
  82. compression. Compressing the converted anim via PowerPacker yielded an
  83. additional 37% reduction in size, for a total file size of 175196k. That's
  84. neary 200k savings without added compression and nearly 300k with compression.
  85.  
  86. Satisfied with the reduction in file size I then proceeded to test the
  87. animation on a variety of popular anim viewers. View3.0 (contained on DCTV
  88. disk#4) and PPSHOW3.0 displayed the anim without any problems. View3.6,
  89. Superview3.12 and Viewtek2.1 also displayed the anim properly but required
  90. manual entering of the display via the arrow keys. For an unknown reason the
  91. Viewtek program played the anim with a "glitch" or color blotch on a few
  92. frames. This did not occur with any other viewer.
  93.  
  94. Whichever player program you use, look for the ability to manually center the
  95. display. An improperly centered screen will prevent DCTV from detecting and
  96. displaying an image or anim correctly. (The 2-bit display mode seems to be a
  97. bit more sensitive to centering, make sure animations are centered corectly
  98. when recording to video tape or you may end up with b/w or distorted output.)
  99.  
  100. As far as gaging an actual increase in animation speed, I relied on the
  101. information provided by the View3.6 program. On my SupraTurbo (28mhz 68000)
  102. enhanced Amiga 2000 the stats were as follows. Before conversion: 6742 avg
  103. DLTA, 44,9982 avg FPS. After conversion: 4092 avg DLTA, 60,0000 avg FPS.
  104. Admitedly not the most accurate test results, but fairly informative. There is
  105. a notable FPS (frames per second) increase and a reduction in avg DLTA (less
  106. pixel changes in the anim,..  which is not surprising considering we have
  107. chopped two bitplanes).
  108.  
  109. Overall I was very impressed with the results. Any loss of image quality due to
  110. the conversion process is far less noticeable while an animation is playing. I
  111. certainly don't believe that the SceneryAnim conversion is the most effective
  112. example of the quality of 2-bit DCTV animation, but I believe i does give us a
  113. basic idea of its capabilities. You'll have the ability to play longer, more
  114. complex animations at faster speeds while using less storage space and less
  115. memory.
  116.  
  117.  
  118.                          PROBLEMS and POSSIBILITIES:
  119.  
  120.  
  121. Once you have performed the 2-bit conversion on various images, you'll notice
  122. that some pictures do not convert well at all. Keep in mind that we're using a
  123. standard Amiga image processor on DCTV images (It doesn't "know" which colors
  124. it's actually allowed to remove or remap) and we're working in a CTV mode that
  125. technically does not exist. The results we obtained in the tutorial are
  126. actually quite incredible considering those factors. Pixmate was only used to
  127. demonstrate that DCTV can indeed function in an Amiga 2-bit mode while
  128. generating acceptable (even desirable) results.
  129.  
  130. A utility designed specifically for performing the conversion would not only be
  131. more convenient to use but also far more effective. It's possible that a
  132. variety of techniques designed to match, antialias or dither colors could be
  133. implemented to further enhance the quality of converted images. The reults
  134. would almost certainly be superior to what we have achieved using Pixmate.
  135.  
  136. The question then arises, why settle for conversion? Current software could be
  137. updated and new software designed to take full advantage of this new display
  138. mode. Paint and digitize software designed to work within the limitations of
  139. the DCTV 2-bitplane palette may not generate the image streaking orcolor
  140. distortion that often occurs during conversion. Imagine being able to directly
  141. digitize images equal in quality to our converted froggie.dctv picture while
  142. retaining file sizes in the range of 50-60k. Sounds good to me!
  143.  
  144. I would urge Digital Creations (or PLAY inc.) to support DCTV with new and
  145. updated software, but looking back at there track-record of only one update in
  146. four years, I don't think that's going to happen any time soon. If they will
  147. not support DCTV they should place all hardware specs and program cod in the
  148. public domain to promote the creation of new software. The P.D. approach
  149. certainly worked for BlackBelt's Ham-E device which enjoyed heavy support by
  150. 3rd parties, including direct support within various frame grabbers, as well as
  151. 3 separate paint programs (2 of which allowed animation). It wuld be nice to
  152. have those kinds of choices with DCTV.
  153.  
  154. While it's true that this new mode is nothing more than a hack of sorts and
  155. that it's certainly not a professional display, I'm sure there are plenty of
  156. artists and animators who can find many interesting uses for it. If you're
  157. working on a low memory or small HD system it may give you the extra wor space
  158. and speed increase you've been looking for. If there are some clever
  159. programmers looking for a challenge, it's a new frontier just waiting to be
  160. conquered. I hope to hear more about this exciting discovery in the future.
  161.